package day0408.factory1;

/**
 * @Author Weton Li
 * @Date 2021/4/8 17:24
 */
public class Client {
    public static void main(String[] args) {
        SkirtFactory skirtFactory = new SkirtFactory();
        Skirt miniSkirt = skirtFactory.getSkirt("miniSkirt");
        System.out.println("制造的其实是对象"+miniSkirt);

        Skirt dressSkirt = skirtFactory.getSkirt("dressSkirt");
        System.out.println("制造的是对象"+dressSkirt);
    }
}
